c308de69b71afbf36f19145555c991e5040f83f4,javasrc/src/org/ccnx/ccn/profiles/security/access/group/GroupAccessControlManager.java,GroupAccessControlManager,findAncestorWithACLSerial,#ContentName#ContentName#,428
Before Change
ancestorACLObject = null;
} else {
// got one
Log.info("Found an ACL object at " + ancestorACLObject.getVersionedName());
break;
}
}
After Change
ancestorACLObject = null;
} else {
// got one
if (Log.isLoggable(Level.INFO)) {
Log.info("Found an ACL object at {0}", ancestorACLObject.getVersionedName());
}
break;
}
}
nextParentName = parentName.parent();
Log.info("findAncestorWithACL: no ACL object at node {0}, looking next at {1}", parentName, nextParentName);
// stop looking once we're above our namespace, or if we've already checked the top level
if (parentName.count() == stopCount) {
Log.info("findAncestorWithACL: giving up, next search point would be {0}, stop point is {1}, no ACL found",
parentName, stopPoint);
break;
}
parentName = nextParentName;
}
if (null == ancestorACLObject) {
if (Log.isLoggable(Level.INFO)) {
Log.info(
"No ACL available in ancestor tree between {0} and {1} (not-inclusive) out of namespace rooted at {2}.",
dataNodeName, stopPoint, getNamespaceRoot());
}
return null;
}
if (Log.isLoggable(Level.INFO)) {
Log.info("Found ACL for {0} at ancestor {1}: ", dataNodeName, ancestorACLObject.getVersionedName());
}
return ancestorACLObject;